import {defineStore} from 'pinia'
import {ref,reactive,computed}from "vue"
export const useuserstore=defineStore('user',()=>{
    const tel = ref("")
    const pwd = ref("")
    const userid = ref("")
    const changetel=(val:string)=>{
       tel.value=val
    }
    const changepwd=(val:string)=>{
        pwd.value=val
     }
     const setuserid=(val:string)=>{
        userid.value=val
     }
    return {
        tel,
        changetel,
        pwd,
        changepwd,
        userid,
        setuserid
    }
})
